import request from '@/utils/request'

export function getTypeList() {
  return request({
    url: `/md/customDatas/getCustomDataTypeList`,
    method: 'get'
  })
}

export function query(data) {
  return request({
    url: `/md/customDatas/query`,
    method: 'get',
    params: data
  })
}

export function save(data) {
  return request({
    url: `/md/customDatas/save`,
    method: 'post',
    data: data
  })
}

export function deletd(data) {
  return request({
    url: `/md/customDatas/delete`,
    method: 'get',
    params: data
  })
}

